package cn.wolfcode.p2p.business.mapper;

import cn.wolfcode.base.BaseMapper;
import cn.wolfcode.p2p.business.domain.BidRequest;
import cn.wolfcode.p2p.business.domain.BidRequestAuditHistory;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface BidRequestMapper extends BaseMapper<BidRequest> {
    List<BidRequestAuditHistory> selsectAuditHistorysByBidRequestId(Long bidRequestId);

	List<BidRequest> selectUnPublishedRequestInOneHour(@Param("state")int state, @Param("endDate") Date endDate);
}